export const check = {
	// 手机号码验证
	phone(phone) {
		if (/^[1][2,3,4,5,6,7,8,9][0-9]{9}$/.test(phone)) {
			return true
		}
		return false
	},
	//密码验证
	password(password) {
		if (/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$/.test(password)){
			return true
		}
		return false
	}
}